﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoKoC.ViewModels.ItemClasses
{
    class AutoTransportCityItem : SeedCityItem
    {
        private Int32 _intMaxOre = 0;
        private Int32 _intMaxStone = 0;
        private Int32 _intMaxWood = 0;
        private Int32 _intMaxFood = 0;
        private Int32 _intMaxGold = 0;
        private Int32 _intMinOre = 0;
        private Int32 _intMinStone = 0;
        private Int32 _intMinWood = 0;
        private Int32 _intMinFood = 0;
        private Int32 _intMinGold = 0;
        private Boolean _fTransportOre = false;
        private Boolean _fTransportStone = false;
        private Boolean _fTransportWood = false;
        private Boolean _fTransportFood = false;
        private Boolean _fTransportGold = false;
        private Int32 _intDestinationYCoord = 0;
        private Int32 _intDestinationXCoord = 0;
        private Boolean _fTransportActive = false;
        private Boolean _fItemChanged = false;



        public Boolean ItemChanged
        {
            get
            {
                return _fItemChanged;
            }
            set
            {
                _fItemChanged = value;
            }
        }

        public Boolean TransportActive
        {
            get
            {
                return _fTransportActive;
            }
            set
            {
                _fTransportActive = value;
                _fItemChanged = true;
            }
        }

        public Int32 DestinationXCoord
        {
            get
            {
                return _intDestinationXCoord;
            }
            set
            {
                _intDestinationXCoord = value;
                _fItemChanged = true;
            }
        }

        public Int32 DestinationYCoord
        {
            get
            {
                return _intDestinationYCoord;
            }
            set
            {
                _intDestinationYCoord = value;
                _fItemChanged = true;
            }
        }

        public Boolean TransportGold
        {
            get
            {
                return _fTransportGold;
            }
            set
            {
                _fTransportGold = value;
                _fItemChanged = true;
            }
        }

        public Boolean TransportFood
        {
            get
            {
                return _fTransportFood;
            }
            set
            {
                _fTransportFood = value;
                _fItemChanged = true;
            }
        }

        public Boolean TransportWood
        {
            get
            {
                return _fTransportWood;
            }
            set
            {
                _fTransportWood = value;
                _fItemChanged = true;
            }
        }

        public Boolean TransportStone
        {
            get
            {
                return _fTransportStone;
            }
            set
            {
                _fTransportStone = value;
                _fItemChanged = true;
            }
        }

        public Boolean TransportOre
        {
            get
            {
                return _fTransportOre;
            }
            set
            {
                _fTransportOre = value;
                _fItemChanged = true;
            }
        }

        public Int32 MinGold
        {
            get
            {
                return _intMinGold;
            }
            set
            {
                _intMinGold = value;
                _fItemChanged = true;
            }
        }

        public Int32 MinFood
        {
            get
            {
                return _intMinFood;
            }
            set
            {
                _intMinFood = value;
                _fItemChanged = true;
            }
        }

        public Int32 MinWood
        {
            get
            {
                return _intMinWood;
            }
            set
            {
                _intMinWood = value;
                _fItemChanged = true;
            }
        }

        public Int32 MinStone
        {
            get
            {
                return _intMinStone;
            }
            set
            {
                _intMinStone = value;
                _fItemChanged = true;
            }
        }

        public Int32 MinOre
        {
            get
            {
                return _intMinOre;
            }
            set
            {
                _intMinOre = value;
                _fItemChanged = true;
            }
        }

        public Int32 MaxGold
        {
            get
            {
                return _intMaxGold;
            }
            set
            {
                _intMaxGold = value;
                _fItemChanged = true;
            }
        }

        public Int32 MaxFood
        {
            get
            {
                return _intMaxFood;
            }
            set
            {
                _intMaxFood = value;
                _fItemChanged = true;
            }
        }

        public Int32 MaxWood
        {
            get
            {
                return _intMaxWood;
            }
            set
            {
                _intMaxWood = value;
                _fItemChanged = true;
            }
        }

        public Int32 MaxStone
        {
            get
            {
                return _intMaxStone;
            }
            set
            {
                _intMaxStone = value;
                _fItemChanged = true;
            }
        }

        public Int32 MaxOre
        {
            get
            {
                return _intMaxOre;
            }
            set
            {
                _intMaxOre = value;
                _fItemChanged = true;
            }
        }

    }
}


